$(function(){

    // if(!window.location.hash) {
    //     window.location.hash = 'newsBox';
    // }
    //tab的点击
    $('.tabsList').on('click',function(){
        // $(this).addClass('active').siblings().removeClass('active');
        location.href='/news?channel='+$(this).attr("data-val");
    });

    $('.listRightMore').on('click', function () {
        location.href=$(this).attr("data-uri");
    });

    //分页
   /* $('.M-box').pagination({
        coping:true,
        count:1,
        keepShowPN:true,
        prevContent:'上一页',
        nextContent:'下一页',
        callback: function(api){
            console.log(api.getCurrent())
        }
    });*/

})